SDEF
// -----------------------------------------------------------------------------
// MODEL DESCRIPTION:
// Thug carrying nada
//
// MODEL AUTHOR:
// Boon
//
/*SINED Monster_ManeroThug_Kungfu (1 .5 0) (0 0 0) (0 0 0)
Manero Thug action figure with full kung-fu action!
*/

// -----------------------------------------------------------------------------
// FILE DECLARATIONS
//
// Model Commands
path models/thug
scale 1.0

// Base Model
thug_base.sbm

// Skins
normal	thug_07a.tga
//normal	thug_07b.tga
//normal	thug_07c.tga
damage	thug_damage_07a.tga
//damage	thug_damage_07b.tga
//damage	thug_damage_07c.tga

// Normal Animations
//readyfire		shoot_start.sam
//unaim			shoot_end.sam
//alert 		guerilla_restfire.sam
idle1             idle_a.sam
idle2			idle_b.sam
//twitch1		idle_b.sam
walk1             walk.sam
run1              run.sam
//fire1             shoot_straight.sam
//fire2			shoot_sweep.sam
//runfire1          guerilla_runfire.sam
jump1			jump.sam
land1			jump.sam
melee1		kick.sam
melee2		punch.sam

// Smoko Animations
//smoke_start		idle_smoko_a.sam
//smoke_idle1		idle_smoko_c.sam
//smoke_twitch1	idle_smoko_d.sam
//smoke_twitch2	idle_smoko_b2.sam
//smoke_into_mouth	idle_smoko_b1.sam
//smoke_into_hand	idle_smoko_b3.sam
//smoke_finish	idle_smoko_b3.sam


// Crouch Animations
crouch			crouch.sam
crouch_return		crouch_return.sam
crouch_idle			crouch_idle.sam
//....

// Pistol Animations
//...

//Guarding animations
//guard_1_idle	tough_1.sam
//guard_2_idle1	tough_2a.sam
//guard_2_idle2	tough_2b.sam
//guard_1_twitch	tough_1to2.sam
//guard_2_twitch	tough_2to1.sam

// Pain Location Based Animations
pain1             	pain_torso.sam

pain_head			pain_head.sam
pain_torso_upper		pain_head.sam
pain_torso_lower		pain_torso.sam
pain_torso_back		pain_back.sam
pain_groin			pain_groin.sam
pain_arm_right		pain_right_arm.sam
pain_hand_right		pain_right_arm.sam
pain_arm_left		pain_left_arm.sam
pain_leg_right_inside	pain_right_leg_i.sam
pain_leg_right_outside	pain_right_leg_o.sam
pain_leg_left_inside	pain_left_leg_i.sam
pain_leg_left_outside	pain_left_leg_o.sam
pain_foot_left		pain_left_leg_i.sam
pain_foot_right		pain_right_leg_i.sam
 
// Death Location Based Animations
death1            	deatha.sam
death2            	deathb.sam
//death_head			pain_head.sam
//death_torso_upper		pain_head.sam
//death_torso_lower		pain_torso.sam
death_torso_back		deathb.sam
death_groin			death_groin.sam
//death_arm_right		pain_right_arm.sam
//death_arm_left		pain_left_arm.sam
//death_leg_right_inside	pain_right_leg_i.sam
death_leg_right_outside	deathb.sam
//death_leg_left_inside	pain_left_leg_i.sam
death_leg_left_outside	deathb.sam
death_foot_left		deathb.sam
death_foot_right		deathb.sam

// Blast Animations - for explosions and very big guns
//blast_head			death_back.sam
//blast_torso_upper		death_back.sam
//blast_torso_lower		death_back.sam
//blast_torso_back		death_forward_left.sam
//blast_groin			death_back.sam
//blast_arm_right		death_forward_left.sam
//blast_arm_left		death_forward_right.sam
//blast_leg_right_inside	deatha.sam
//blast_leg_right_outside	deatha.sam
//blast_leg_left_inside	deatha.sam
//blast_leg_left_outside	deatha.sam
// Wierdo extra stuff for getting up again
//up_death_back_prep	down_roll_over.sam
//up_death_back_left_right	down_roll_up.sam
//up_death_forward		down_get_up.sam

// Optional Animations
//kick1		   kick.sam
//sitting		chair_idle.sam
//sitting_stand1	chair_stand_up_fast.sam
//sitting_stand2	chair_stand_up.sam
//repel1         guerilla_repel.sam
//Can't Americans spell rappel?
step_left      strafe_left.sam
step_right     strafe_right.sam
//retreat		retreat.sam
//pickup		pickup.sam

// Scripted Animations
carry_diamond	run_diamond.sam
diamond_jump	jump_diamond.sam
//diamond_land	land_diamond.sam ###missing

// Id And Group Definitions
id   2 group head             flesh
//id   3 group head nodraw      flesh
group head damage 4.0
id  4 group torso_upper	fabric
group torso_upper damage 1.2
id  5 group torso_lower	fabric
group torso_lower damage 1.0
id  6 group groin	fabric
group groin damage 1.5
id  7 group torso_back	fabric
group torso_back damage 1.0
id  11 group leg_left_inside	fabric
group leg_left_inside damage 0.6
id  12 group leg_left_outside	fabric
group leg_left_outside damage 0.5
id  16 group leg_right_inside	fabric
group leg_right_inside damage 0.6
id  17 group leg_right_outside	fabric
group leg_right_outside damage 0.5
id  18 group foot_right fabric
group foot_right damage 0.4
id  19 group foot_left fabric
group foot_left damage 0.4
id  21 group arm_left	fabric
group arm_left  damage 0.6
id 26 group arm_right 	fabric
group arm_right  damage 0.6
id 28 group hand_right	flesh
group hand_right damage 0.4
id 200 group hand_right bone gun 25 160 190 2015attach fabric

// -----------------------------------------------------------------------------
// INITIALIZATION SECTION
//
!init:
//
// SERVER Initialization Commands
//
// Class Setup
server classname actor
server script global/mthug.scr
server setsize "-16 -16 0" "16 16 80"
server crouchsize "-16 -16 0" "16 16 64"
//server weapon ChainGun
server health 150
server item FlakJacket 50
server item FlakPants 30
server painthreshold 15
server meleerange 60
server meleedamage 40

//server dropweapon 1

// Sound Aliases
server aliascache  snd_attacktaunt1 	"monsters/mthug/attk1.wav" 1
server aliascache  snd_attacktaunt2 	"monsters/mthug/attk2.wav" 1
server aliascache  snd_attacktaunt3 	"monsters/mthug/attk3.wav" 1
server aliascache  snd_attacktaunt4		"monsters/mthug/attk4.wav" 1
server aliascache  snd_attacktaunt5		"monsters/mthug/purs2.wav" 1

server aliascache  snd_panic1    "monsters/mthug/retreat1.wav" 1
server aliascache  snd_panic2    "monsters/mthug/retreat2.wav" 1
server aliascache  snd_panic3    "monsters/mthug/retreat3.wav" 1

server aliascache  snd_pursuit1    "monsters/mthug/purs1.wav" 1
server aliascache  snd_pursuit2    "monsters/mthug/purs2.wav" 1
server aliascache  snd_pursuit3    "monsters/mthug/purs3.wav" 1

server aliascache  snd_sightenemy1    "monsters/mthug/site1.wav" 1
server aliascache  snd_sightenemy2    "monsters/mthug/site2.wav" .4
server aliascache  snd_sightenemy3    "monsters/mthug/purs1.wav" .4

server aliascache  snd_inmysights1     	"monsters/mthug/insite1.wav" 1
server aliascache  snd_inmysights2 		"monsters/mthug/attk1.wav" 1
server aliascache  snd_inmysights3 		"monsters/mthug/attk2.wav" 1
//server aliascache  snd_inmysights4 		"monsters/mthug/attk3.wav" 1
server aliascache  snd_inmysights5		"monsters/mthug/attk4.wav" 1
server aliascache  snd_inmysights6		"monsters/mthug/purs2.wav" 1

server aliascache  snd_idle1          "misc/null.wav"  1
server aliascache  snd_idle2          "monsters/mthug/idle1.wav" 1
server aliascache  snd_idle3          "monsters/mthug/idle2.wav" 1
server aliascache  snd_idle4          "monsters/mthug/idle3.wav" 1
server aliascache  snd_investigate1   "misc/null.wav" 1
server aliascache  snd_locate1        "monsters/thug/purs3.wav" 1

server aliascache  snd_tauntdeath1    "monsters/mthug/taunt1.wav" 1
server aliascache  snd_tauntdeath2    "monsters/mthug/dtaunt1.wav" 1
server aliascache  snd_tauntdeath3    "monsters/mthug/dtaunt2.wav" 1

//server aliascache snd_inhale1	"monsters/mthug/inhale.wav"
//server aliascache snd_inhale2	"monsters/mthug/smoke1.wav"
//server aliascache snd_inhale3	"monsters/mthug/smoke2.wav"
//server aliascache snd_lightup	"monsters/mthug/lighter.wav"

//
// CLIENT Initialization Commands
//
// Sound Aliases
//client aliascache  snd_duck1    "monsters/thug/duck1.wav" 1
//client aliascache  snd_duck2    "monsters/thug/duck2.wav" 1
//client aliascache  snd_duck3    "monsters/thug/duck3.wav" 1

client aliascache  snd_pain1     "monsters/mthug/pain1.wav" 1
client aliascache  snd_pain2     "monsters/mthug/pain2.wav" 1
client aliascache  snd_pain3     "monsters/mthug/pain3.wav" 1
client aliascache  snd_pain4     "monsters/mthug/pain4.wav" 1
client aliascache  snd_pain_hand1     "monsters/mthug/painhnd1.wav" 1
client aliascache  snd_pain_hand2     "monsters/mthug/painhnd2.wav" 1
client aliascache  snd_pain_head1     "monsters/mthug/pain2.wav" 1
client aliascache  snd_pain_nuts1     "monsters/mthug/painnuts1.wav" 1
client aliascache  snd_pain_nuts2     "monsters/mthug/painnuts2.wav" 1
client aliascache  snd_pain_nuts3     "monsters/mthug/painnuts3.wav" 1

client aliascache  snd_death1    "monsters/mthug/death1.wav" 1
client aliascache  snd_death2    "monsters/mthug/death2.wav" 1
client aliascache  snd_death3    "monsters/mthug/death3.wav" 1
client aliascache  snd_death_nuts1    "monsters/mthug/deathnuts1.wav" 1
client aliascache  snd_death_nuts2    "monsters/mthug/deathnuts2.wav" 1

client aliascache  snd_kneefall1   "impact/bodyfall/sml1.wav" 1
client aliascache  snd_kneefall2   "impact/bodyfall/sml2.wav" 1
client aliascache  snd_partfall1   "impact/bodyfall/med1.wav" 1
client aliascache  snd_partfall2   "impact/bodyfall/med2.wav" 1
client aliascache  snd_partfall3   "impact/bodyfall/med3.wav" 1
client aliascache  snd_bodyfall1   "impact/bodyfall/lrg1.wav" 1
client aliascache  snd_bodyfall2   "impact/bodyfall/lrg2.wav" 1
client aliascache  snd_whoosh1     "weapons/punch/whsh1.wav" 1
client aliascache  snd_whoosh2     "weapons/punch/whsh2.wav" 1

// -----------------------------------------------------------------------------
// MAIN SECTION
//
!main:
// Special Commands
server crouch last nextanim crouch_idle
server crouch_return last nextanim idle
server crouch_left_idle last nextanim crouch_idle
server crouch_right_idle last nextanim crouch_idle
server crouch_aim first nextframe 0
server crouch_left_aim first nextframe 0
server crouch_right_aim first nextframe 0

// Normal Animations
//server walk1      5 movementsound
//server walk1     11 movementsound
client walk1		2 footstep
client walk1		7 footstep
//server run1       0 movementsound
//server run1       4 movementsound
client run1 		0 footstep
client run1			4 footstep
server melee1 4 melee
server melee1 5 melee
server melee2 2 melee
server melee2 6 melee
server melee2 10 melee

// Pain Location Based Animations
server pain1 			first painsound
client pain1 			first randomsound snd_pain 1 2

server pain_head			first painsound
client pain_head			first randomsound snd_pain_head 1 2
server pain_torso_upper		first painsound
client pain_torso_upper		first randomsound snd_pain 1 2
server pain_torso_lower		first painsound
client pain_torso_lower		first randomsound snd_pain 1 2
server pain_torso_back		first painsound
client pain_torso_back		first randomsound snd_pain 1 2
server pain_groin			first painsound
client pain_groin			first randomsound snd_pain_nuts 1 2
server pain_arm_right		first painsound
client pain_arm_right		first randomsound snd_pain 1 2
server pain_hand_right		first painsound
client pain_hand_right		first randomsound snd_pain_hand 1 2
server pain_arm_left		first painsound
client pain_arm_left		first randomsound snd_pain 1 2
server pain_leg_right_inside	first painsound
client pain_leg_right_inside	first randomsound snd_pain 1 2
server pain_leg_right_outside	first painsound
client pain_leg_right_outside	first randomsound snd_pain 1 2
server pain_leg_left_inside	first painsound
client pain_leg_left_inside	first randomsound snd_pain 1 2
server pain_leg_left_outside	first painsound
client pain_leg_left_outside	first randomsound snd_pain 1 2
server pain_foot_left		first painsound
client pain_foot_left		first randomsound snd_pain 1 2
server pain_foot_right		first painsound
client pain_foot_right		first randomsound snd_pain 1 2


// Death Location Based Animations

server death1            	first deathsound
client death1            	first randomsound snd_death 1 2
client death1            	5 randomsound snd_kneefall 1 4
//client death1            	13 randomsound snd_partfall 1 4
client death1            	15 randomsound snd_bodyfall 1 4
server death2            	first deathsound
client death2            	first randomsound snd_death 1 2
client death2            	9 randomsound snd_kneefall 1 4
client death2            	10 randomsound snd_bodyfall 1 4
//client death2            	15 randomsound snd_partfall 1 4
server death_torso_back		first deathsound
client death_torso_back		first randomsound snd_death 1 2
client death_torso_back      	9 randomsound snd_kneefall 1 4
client death_torso_back      	10 randomsound snd_bodyfall 1 4
//client death_torso_back      	15 randomsound snd_partfall 1 4
server death_groin		first deathsound
client death_groin		first randomsound snd_death_nuts 1 2
client death_groin		5 footstep
client death_groin		15 randomsound snd_bodyfall 1 4
//client death_groin		17 randomsound snd_partfall 1 4
server death_leg_right_outside	first deathsound
client death_leg_right_outside	first randomsound snd_death 1 2
client death_leg_right_outside      9 randomsound snd_kneefall 1 4
client death_leg_right_outside      10 randomsound snd_bodyfall 1 4
//client death_leg_right_outside	15 randomsound snd_partfall 1 4
server death_leg_left_outside	first deathsound
client death_leg_left_outside	first randomsound snd_death 1 2
client death_leg_left_outside	9 randomsound snd_kneefall 1 4
client death_leg_left_outside	10 randomsound snd_bodyfall 1 4
//client death_leg_left_outside	15 randomsound snd_partfall 1 4
server death_foot_left		first deathsound
client death_foot_left		first randomsound snd_death 1 2
client death_foot_left		9 randomsound snd_kneefall 1 4
client death_foot_left		10 randomsound snd_bodyfall 1 4
//client death_foot_left		15 randomsound snd_partfall 1 4
server death_foot_right		first deathsound
client death_foot_right		first randomsound snd_death 1 2
client death_foot_right 	9 randomsound snd_kneefall 1 4
client death_foot_right		10 randomsound snd_bodyfall 1 4
//client death_foot_right		15 randomsound snd_partfall 1 4


// Crouching Pain Location Based Animations
//client crouch_pain1 first randomsound snd_pain 1 2
//server crouch_pain1 first painsound
//client crouch_pain2 first randomsound snd_pain 1 2
//server crouch_pain2 first painsound

// Crouching Death Location Based Animations
//server crouch_death1 first deathsound
//client crouch_death1 first randomsound snd_death 1 2
//client crouch_death1  3 randomsound snd_partfall 1 4
//client crouch_death1  8 randomsound snd_bodyfall 1 4
//client crouch_death1 11 randomsound snd_partfall 1 4
//server crouch_death2 first deathsound
//client crouch_death2 first randomsound snd_death 1 2
//client crouch_death2  4 randomsound snd_bodyfall 1 4
//client crouch_death2  7 randomsound snd_kneefall 1 4
//server crouch_death3 first deathsound
//client crouch_death3 first randomsound snd_death 1 2
//client crouch_death3  5 randomsound snd_kneefall 1 4
//client crouch_death3  8 randomsound snd_partfall 1 4

server jump1 3 nextframe 3

server land1 first setframe 4
server land1 5 movementsound
server land1 6 movementsound
client land1 5 footstep
client land1 6 footstep

server diamond_jump1 3 nextframe 3

server diamond_land1 first setframe 4
server diamond_land1 5 movementsound
server diamond_land1 6 movementsound
client diamond_land1 5 footstep
client diamond_land1 6 footstep

// Optional Animations
//server kick1 3 movementsound
//server kick1 7 movementsound
//client kick1 3 randomsound snd_whoosh 1 4
//client kick1 7 footstep
//server jump1 5 movementsound
//server jump1 6 movementsound
//client jump1 5 footstep
//client jump1 6 footstep

//server punch1 1 movementsound
//server punch1 3 movementsound
//server punch1 5 movementsound
//server punch1 7 movementsound
//client punch1 1 randomsound snd_whoosh .5 4
//client punch1 3 randomsound snd_whoosh .5 4
//client punch1 5 randomsound snd_whoosh .5 4
//client punch1 7 randomsound snd_whoosh .5 4

// Scripted Animations
//client laugh1 first randomsound snd_laugh 1 2

// -----------------------------------------------------------------------------
// SOURCESAFE Update Log
//
// 10/14/98 Ken
// First draft.
//
// -----------------------------------------------------------------------------


//SDEF
//path models/thug
//scale 1
//thug_base03b.tga
//thug_base03a.tga
//thug_base03c.tga
//thug_base.sbm
//
//chair_idle.sam			
//chair_stand_up_fast.sam		
//chair_stand_gun.sam		
//chair_stand_up.sam		
//deatha.sam			
//deathb.sam			
//death_back.sam			
//death_left.sam			
//death_right.sam			
//down_roll_over.sam		
//draw_pistol.sam			
//idle_smoko_a.sam		
//idle_smoko_b1.sam		
//idle_smoko_b2.sam		
//idle_smoko_c.sam		
//idle_smoko_d.sam		
//idle_a.sam			
//idle_b.sam			
//kick.sam			
//pain_groin.sam			
//pain_left_leg1.sam		
//pain_right_leg1.sam		
//pain_left_leg2.sam		
//pain_right_leg2.sam		
//pain_right_arm.sam		
//pain_left_arm.sam		
//pain_head.sam			
//pain_torso.sam			
//pain_back.sam			
//retreat.sam			
//shoot_pistol.sam		
//shoot.sam			
//tough_2to1.sam			
//tough_1to2.sam			
//tough_1.sam			
//tough_2a.sam			
//tough_2b.sam			
//walk.sam			

